//
//  DBCache.h
//  Pods
//
//  Created by baboy on 2019/2/13.
//

#ifndef DBCache_h
#define DBCache_h
#import "Dao.h"

@interface DBCache : Dao {
    
}
+ (BOOL) removeForKey:(NSString *)key;
+ (BOOL) setValue:(id)val forKey:(NSString *)key;
+ (BOOL) setValue:(id)val forKey:(NSString *)key domain:(NSString *)domain;
+ (BOOL) setInt:(int)val forKey:(NSString *)key;
+ (BOOL) setDouble:(double)val forKey:(NSString *)key;
+ (BOOL) setFloat:(float)val forKey:(NSString *)key;
+ (NSString *) valueForKey:(NSString *)key;
+ (NSString *) valueForKey:(NSString *)key domain:(NSString *)domain;
+ (int) intForKey:(NSString *)key;
+ (float) floatForKey:(NSString *)key;
+ (float) doubleForKey:(NSString *)key;
+ (NSDictionary *)dictForKey:(NSString *)key;
+ (NSArray *)arrayForKey:(NSString *)key;
+ (void) clear;

+ (void) loadFile:(NSString*)fn;
@end


#endif /* DBCache_h */
